package com.ruoyi.supermarket.mapper;

import java.util.List;
import com.ruoyi.supermarket.domain.Yspay;

/**
 * 应收汇总Mapper接口
 * 
 * @author ruoyi
 * @date 2024-05-30
 */
public interface YspayMapper 
{
    /**
     * 查询应收汇总
     * 
     * @param yspayId 应收汇总主键
     * @return 应收汇总
     */
    public Yspay selectYspayByYspayId(Long yspayId);

    /**
     * 查询应收汇总列表
     * 
     * @param yspay 应收汇总
     * @return 应收汇总集合
     */
    public List<Yspay> selectYspayList(Yspay yspay);

    /**
     * 新增应收汇总
     * 
     * @param yspay 应收汇总
     * @return 结果
     */
    public int insertYspay(Yspay yspay);

    /**
     * 修改应收汇总
     * 
     * @param yspay 应收汇总
     * @return 结果
     */
    public int updateYspay(Yspay yspay);

    /**
     * 删除应收汇总
     * 
     * @param yspayId 应收汇总主键
     * @return 结果
     */
    public int deleteYspayByYspayId(Long yspayId);

    /**
     * 批量删除应收汇总
     * 
     * @param yspayIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYspayByYspayIds(Long[] yspayIds);

    List<Yspay> selectYspayListFzd(Yspay yspay);
}
